package com.kiki.stater;

/**
 * Created by mazeyi on 2020/11/3.
 */
public class HashDemo {


    static final int HASH_BITS = 0x7fffffff; // usable bits of normal node hash

    public static void main(String[] args) {
        Integer h = "aaa".hashCode();
        System.out.println("aaa".hashCode());
        System.out.println((h ^ (h >>> 16)) & HASH_BITS);
    }
}